package upicgame.user.dao;

import upicgame.entity.User;

import java.util.List;

/**
 * @program: upicgame
 * @description: 用户管理dao层
 * @author: lhq
 * @create: 2019-12-17 09:46
 */
public interface UserDao {
	boolean addUser(User user);
	boolean deleteUser(User user);
	boolean updateUser(User user);
	User findUser(Integer id, String idType);
	User findUser(String info, String infoType);
	List<User> findAllPage(Integer currentPage, Integer size);
	Long totalCount(String name);
}
